Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] makes verb callbacks not execute if the original client disconnected #861

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Skyrat: Skyrat-SS13/Skyrat-tg#25287
Original PR: tgstation/tgstation#79964

About The Pull Request

currently verb callbacks still execute if the usr at the time of their creation got deleted or had their client disconnected before they got invoked. this can cause issues if the verb being deferred assumes usr exists, now the callback will return instead of calling its proc if its invoked after usr is deleted or disconnected.

Why It's Good For The Game

less runtimes

Changelog

🆑 Kylerace
code: verb callbacks will no longer execute if the original client disconnected
/:cl:

…onnected [MDB IGNORE] (#25287)

* makes verb callbacks not execute if the original client disconnected (#79964)

## About The Pull Request
currently verb callbacks still execute if the usr at the time of their
creation got deleted or had their client disconnected before they got
invoked. this can cause issues if the verb being deferred assumes usr
exists, now the callback will return instead of calling its proc if its
invoked after usr is deleted or disconnected.
## Why It's Good For The Game
less runtimes
## Changelog
:cl:
code: verb callbacks will no longer execute if the original client
disconnected
/:cl:

---------

Co-authored-by: san7890 <the@ san7890.com>

* makes verb callbacks not execute if the original client disconnected

---------

Co-authored-by: Kylerace <[email protected]>
Co-authored-by: san7890 <the@ san7890.com>
@Iajret Iajret merged commit 186ff92 into master Nov 28, 2023
24 checks passed
@Iajret Iajret deleted the upstream-mirror-25287 branch November 28, 2023 23:40
AnywayFarus added a commit that referenced this pull request Nov 28, 2023
Iajret pushed a commit that referenced this pull request Feb 9, 2024
… be closed (#861)

* [Fix] Visually closing fakewalls when in fact they shouldn't be closed (#81353)

## About The Pull Request

Moves update_appearance() proc further after checking if it can be
closed.

It was possible to stand inside an open falsewall, try to close it only
for it to "close" visually and don't change any properties.

## Why It's Good For The Game

Less bugs is good. No more fake-closed falsewalls.

## Changelog

:cl:
fix: Now falsewalls visually don't close when they shouldn't.
/:cl:

* [Fix] Visually closing fakewalls when in fact they shouldn't be closed

---------

Co-authored-by: larentoun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants